package person;

import java.util.Vector;

/**
 * 
 * @author Minodor
 * 
 *         Builds a Person from a tokenized line from the scenario;
 */
public class PersonBuilder {

	public PersonBuilder() {
	}

	public void createPerson(Vector<String> personVector) {
		Person p = new Person();
		p.setName(personVector.get(1));
		p.setSex(Sex.match(personVector.get(3)));
		PersonAchive.add(p);
	}
}
